#pragma once
#include"IStudent.h"
#include "ITeacher.h"

class Student:public IStudent
{
public:
	Student(int ID) :StudentID(ID) {};

	 void Subscribe(ITeacher* teacher)override;
	 void UnSubscribe(ITeacher* teacher)override;

	 bool Update( Message message)override;
	 void ShowHistoryInfomation()const override;
	 void ShowLatistInfomation()const override;
	  int GetID()const override;
	   void ShowTeacherInfomation(ITeacher* teacher)const override;

private:
	std::list <Message> Infomations;
	int StudentID = NULL;
};

